package com.cxz.study.domain.order;

import com.cxz.study.domain.order.event.OrderCancelledEvent;
import com.cxz.study.domain.order.event.OrderCreatedEvent;

/**
 * @className: OrderEventPublisher
 * @author: ocxz1
 * @date: 2025/6/13 下午7:15
 * @Version: 1.0
 * @description: ddd-struct3
 */
public interface OrderEventPublisher {
    void publish(OrderCreatedEvent orderCreatedEvent);
    void publish(OrderCancelledEvent orderCancelledEvent);
}
